<h1>Administraci&oacute;n de Salidas de Materia</h1>

<table>
  <thead>
    <th>Consecutivo</th>
    <th>Fecha</th>
    <th>Centro de Consumo</th>
  </thead>
  <tbody>
    <% for s in @salidas_material %>          
      <tr>
        <td><%= s.consecutivo %></td>
        <td><%= s.created_at.to_date %></td>
        <td><%= s.centro.nombre_comercial %></td>
<td><%= link_to "Mostrar", :action => "show", :id => s %></td>
      </tr>
    <% end %>
    
  </tbody>
</table>
<p><%= will_paginate @salidas_material %></p>
<p><%= link_to "Nueva Salida de Material", :action => "new" %></p>